﻿define(['knockout', 'rep/MenuRepository'],
function (ko, MenuRepository) {
    return function MenuViewModel() {
        //Contruction Logic
        this.init = function () {
            //crear arreglo observable
            this.Menus = new ko.observableArray( (new MenuRepository()).GetMenu());
        };
        //Properties
        this.Menus = null;

        //Functions

        //Contructor call
        this.init();
    };
});
      